import 'package:english_words/english_words.dart';
import 'package:flutter/material.dart';

class RandomWordsWidget extends StatelessWidget{

  const RandomWordsWidget({super.key});


  @override
  Widget build(BuildContext context) {
    var wordPair = WordPair.random();
    return Padding(
      padding: const EdgeInsets.all(8.0),
      child: Text(
        wordPair.toString(),
        style: const TextStyle(
          color: Colors.red
        ),
      ),
      );
  }
  
}